package com.ddx.service;

import com.ddx.common.exception.ResultModel;
import com.ddx.pojo.Advert;
import com.ddx.pojo.AdvertVideo;
import com.ddx.pojo.ShoppingProduct;

/**
 * @author: liyuxiang
 * @create: 2019-01-26
 */
public interface AdvertService {

    ResultModel getAdvertListByUserId(int userId);

    ResultModel getAdvertById(int advertId);

    Advert getAdvertByVideoId(int videoId);

    Advert insertByProduct(ShoppingProduct product, int userId);

}
